package com.test.atomic;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class AtomicDemo {
    public static void main(String[] args) {
        HashMap hashMap=new HashMap();
        Map<Object, Object> map=Collections.synchronizedMap(hashMap);

    }
}
